From: Florian Müllner Date: Thu, 12 Sep 2019 22:40:24 +0000 (+0200) Subject: lint: Drop extra ignored nodes in legacy config X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~73 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e44b7df0784c9ce9125e2ef01fb8ac70dd7dba10;p=gnome-shell.git lint: Drop extra ignored nodes in legacy config They didn't just allow for the style patterns they were added to, but allowed for some messed up indentation to slip through. Now that we adapted the code to not use the old style, it's time to drop the exceptions. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/725 --- diff --git a/lint/eslintrc-legacy.json b/lint/eslintrc-legacy.json index 462607e4e..e49d5c63a 100644 --- a/lint/eslintrc-legacy.json +++ b/lint/eslintrc-legacy.json @@ -5,8 +5,6 @@ 4, { "ignoredNodes": [ - "ConditionalExpression", - "CallExpression > ArrowFunctionExpression", "CallExpression[callee.object.name=GObject][callee.property.name=registerClass] > ClassExpression:first-child" ], "CallExpression": { "arguments": "first" },